import React from 'react'
import withCtx from '/app/withCtx';
import { withReduxSaga } from '/app/reudx/store';

class Teacher extends React.Component {
	static async getInitialProps (ctx) {
		const { store } = ctx;
		return {}
	}
	render () {
		return (
			<div>teacher</div>
		)
	}
}

function select (store) {
	return {
		userAuth: store.userAuth,
	};
}

export default withReduxSaga(withCtx(Teacher), select);